package cn.edu.uestc.smgt.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import cn.edu.uestc.smgt.common.QueryBase;
import cn.edu.uestc.smgt.pojo.User;

public interface UserMapper {
	int deleteByPrimaryKey(String username);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(String username);

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);

	Long size(Map<String, Object> parameters);

	List<? extends Object> selectBySelections(QueryBase querybase);

	User selectByUsernameAndPassword(User user);
}